package com.wuhongyu.service;

import java.util.List;

import com.wuhongyu.entity.Excel;
import org.springframework.web.multipart.MultipartFile;

import com.wuhongyu.entity.ExcelColumnName;
import com.wuhongyu.entity.ExcelData;

public interface ExcelService {

    void leadingExcel(MultipartFile excel, Integer excelNum,String name);

    List<ExcelData> selectDataList(ExcelData excelData);

    void cleanAll();

    void deleteDataById(Integer id);

    void deleteByIds(Integer[] ids);

    void updateOrInser(ExcelData excelData);

    ExcelData queryById(Integer id);

    List<ExcelColumnName> selecColumnNameListByEn(Integer excelNum);

    Integer getExcelNum();

    void insertColumn(ExcelColumnName excelColumnName);

    void deleteColumn(Integer id, Integer num);

    List<Excel> findAll();

    void deleteExcel(Integer id);

    void updateExcel(Excel excel);
}
